package com.zemo.base.domain.entity.sys;

import com.zemo.base.domain.entity.BaseEntity;

/**
 * @ClassName: UserEntity
 * @author: SuperZemo
 * @email: zemochen@gmail.com
 * @Date 05/04/2018 22:38
 * @Description 用户表
 */
public class UserEntity extends BaseEntity {

    /**
     * 昵称
     */
    private String nickName;
    /**
     * 性别
     */
    private Integer gender;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 原密码，加密后转换成pwd
     */
    private String plainPwd;
    /**
     * 加密后的密码
     */
    private String pwd;
    /**
     * 头像url
     */
    private String avatorUrl;
    /**
     * 授权码
     */
    private String token;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 注册来源
     */
    private Integer registerFrom;


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPlainPwd() {
        return plainPwd;
    }

    public void setPlainPwd(String plainPwd) {
        this.plainPwd = plainPwd;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getAvatorUrl() {
        return avatorUrl;
    }

    public void setAvatorUrl(String avatorUrl) {
        this.avatorUrl = avatorUrl;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getRegisterFrom() {
        return registerFrom;
    }

    public void setRegisterFrom(Integer registerFrom) {
        this.registerFrom = registerFrom;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }
}
